﻿using Xtensive.Orm;

namespace SoftRemoval.Model
{
  // Base class for entities that support soft-removal
  public abstract class SoftRemovableEntity : Entity
  {
    // This property is set to true when entity is soft-removed
    [Field]
    public bool IsHidden { get; set; }

    protected SoftRemovableEntity(Session session)
      : base(session)
    {
    }
  }
}